Court rules against Texas officials in FLDS case