Judge to rule on Texas abortion restrictions