That sounds a lot like fair world fallacy http://en.wikipedia.org/wiki/Just-world_hypothesis
To give an analogy, if you have access to all the food you want, but you voluntarily limit yourself to kumquats and bananas for arbitrary, irrational reasons, in the long run you will develop health problems.
Likewise, a business that irrationally limits itself to a subset of all available talent will, in aggregate, lose out to those who are not thus limited.
I admit to not having citations of statistical evidence at hand, although I have seen many publications in the past that indicate diversity of employee populations is correlated with innovation and success. I did not provide evidence because I believe as a Gedankenexperiment, the conclusion is self-evident.
> one thing that ought to be pointed out is that free
> markets tend to punish companies, over the long term,
> that intentionally deny themselves access to talent
> due to bigotry.
If this happens on a large enough scale, then it's hard to quantify. If this happens enough that it keeps the number of women in tech low, then how can you really quantify what they are missing out on? It would be easier to quantify if there was a large number of skilled female programmers, but if they are discouraged from even reaching the point of becoming skilled/competent programmers...If this were true, we wouldn't have needed the EEOC and the Civil Rights Act in the first place. We did. Therefore.
But one thing that ought to be pointed out is that free markets tend to punish companies, over the long term, that intentionally deny themselves access to talent due to bigotry. Conversely, companies who acquire talent with rational screening procedures will have a competitive advantage over those who use irrational screening procedures.
It's a sort of corporate karma. In aggregate, bigotry in hiring procedures will eventually harm you, legal or not.