LGBTQ+ advocates said the bill will "erase" trans identities at the federal level.