Federal judge rules on Texas abortion law