Trump ban on transgender troops serving in U.S. military caught Pentagon flat-footed.