Law professor to run against Republican Ken Paxton for state attorney general