Prosecutors failed to disclose that Border Patrol agents who testified at trial were members of a Facebook group that posted racist content, an appeals court said.