I come from a military family and it is actually quite the opposite:  the problems with accommodating trans service members far outweigh the benefits to having them serve.  Logistics are already a nightmare in the military, trans service people would be more trouble then their capabilities are worth.