Texas' head utility regulator resigns following legislative