Transgender military ban met with protests and bipartisan criticism