A federal magistrate says a transgender man who was a supervising official for the U.S. Equal Employment Opportunity Commission when President Donald Trump announced his anti-trans policy last year can sue the agency for alleged discrimination and harassment that caused him to resign.