Texas can ban emergency abortions despite federal guidance, court says