We train dogs to overcome certain instincts. Mainly by focusing on other instincts that are more difficult to overcome. Mostly of these are centered around the dog's owner being viewed as Pack Leader.
Instinct is difficult to overcome. If you were to yell "FIRE!" in a crowded building, most people, probably something on close to 90% are going to panic and run for the door. Maybe less, but the point is that we have an instinct to run from large fires. It is an oversimplification to say that putting a woman in a front line combat unit isn't allowed by most militaries because they'd be a distraction, but, and you can't deny it, it would be. Even if the sexual interrelations didn't occur, she'd cause the unit to lose focus and possibly take more casualties than needed.
I'm not even saying that this hypothetical woman couldn't handle it physically, but in all seriousness, the average woman is between 5'2" and 5'7" and weighs in at 110 to 130lbs. Excellent physical conditioning or not, how is she going to drag a 6'3" 300+ lb marine from a burning tank or overturned hummvee? That's the main reason.
You wanna see what would happen to a woman in a front line combat unit? Go watch GI Jane. The part right up until she rings the bell is about right. Watch closely while she's being interrogated during training. Her squad is begging for the colonel to stop and he keeps pushing till one of them breaks. That's another reason women shouldn't be in a front line unit.
Now civilian life is a different story, pretty much any job that doesn't require an extreme of physical output should be equal pay for equal work. But there's just no place for a woman on an Oil Rig deck or a crab boat deck in the Bering Sea.