The military services have 30 days to figure out how they will seek out and identify transgender service members to remove them from the force, sparking controversy and legal challenges