Programmers are not solidly average intelligence at all. Everybody writing software is at the upper end, even if defined very loosely to mean something like top 10% of Americans. Note that among SAT scorers, the top 11% of males score >700 on the math section and top 7% of females score >700. This isn't some super-elite group, and you're already looking at 1.6x as many men.
But you're arguing somehow that we should specifically discriminate in an attempt to hire dumber people, so... well, that seems like a bad idea to me.