This is complete crap, but it's typical of the double standard. Women like this see the army as an alternative to welfare. She has kids she can't take care of, and it becomes the unit's problem. Given that the kids aren't biologically hers, and the judge gave her and her husband only a single option, I think that's a bit harsh a parenting judgement. I think women in the military do as you describe quite often, but I don't think it's entirely applicable here.
This is a good example of the military having an objective that it can't justify. Putting women in a military combat unit is ridiculous. But their policy leaves a woman in a situation such as this vulnerable and they make an exception. The policy is wrong but nothing is done to eliminate the policy.