Indicted Texas attorney general sides with anti-gay judge instead of state agency in legal fight