The justices had been asked to decide whether one of the last sex-based distinctions in federal law should survive now that women can serve in combat.

The justices had been asked to decide whether one of the last sex-based distinctions in federal law should survive now that women can serve in combat.