A Texas judge ruled that a pregnant woman who sued the state seeking an abortion can legally terminate her pregnancy