Another angle on the issue: If some company is doing something that is suboptimal (such as excluding a viable gender employee group) they will eventually be priced out of the market by competitors (because their inefficiencies will remove their competitiveness).
I wonder how many of these things we should legislate against the "bad guy" vs. just ensure the proliferation/competitiveness of the "Good guys"?