Nothing some more H1B outsourcing can’t fix...
H1B is the CAUSE of the gender imbalance. The low-paid men are likely to disproportionately be H1Bs.
Does the Fact that H-4 Spouses Are Almost All Women Suggest Gender Bias in Granting H-1B Visas?
Also, it is a fact of life that ALL companies legal departments will strive to ensure that NO female employee can ever plausibly claim that she was paid less than any male employee in any comparable job, and the only way to ensure that is to ensure that men are always paid less.