Honestly, letting women in the military is a horrible idea. They make inferior soldiers for obvious reasons, and even in support roles, the amount of love triangles and gender strife will severely degrade unit cohesion.
You're not likely to have your buddy's back if you have to listen to him fucking the girl you like every few nights or so. It's simply unrealistic to expect people not to be people. You can shake your fist at the heavens and damn humans for being the flawed monkeys that they are while refusing to take it into account, or you can plan around our species' flaws and actually get things done.