Court rules Texas can ban Planned Parenthood from health program