An order of the commander-in-chief on a ban on transgender is just that -  an order from the Commander-In-Chief.  
This is the military we are talking about where orders from the top do not contain even a single information on how to accomplish the task.