Republicans revised the legislation to ensure no transgender people would be included in exhibits. Then it failed to pass.