Court: Texas can cut off Planned Parenthood funds