The GOP-controlled House approved several amendments that ax rights for transgender people and other vulnerable communities, however.