If there are so few, barring them is also insignificant.

Allowing one category of transgender but not another as you suggest could be construed as similar to allowing only women who have been surgically sterilized. That wouldn't go over well either. 

It would be interesting to get accurate information on studies by the military regarding issues other than medical costs regarding the effect of permitting transgenders. What you or I guess is the effect is irrelevant.