Ms. Henein's article is mostly polemic. Insofar as it is reasoned, it falls victim to the fallacy of generalization. Statistical statements about populations cannot prove anything about individuals, nor can a fact about an individual prove anything about a population. Marie Henein is an accomplished litigator. That does not disprove the assertion that female lawyers are less inclined to become litigators than male lawyers. By the same token, the fact that female lawyers are less inclined to become litigators than male lawyers does not prove that Marie Henein, or any other female lawyer, is disinclined, or unsuited, to be a litigator.
In the same way, that women are less inclined to go into computer science does not prove that all women, or any particular woman, are unsuited to be software engineers. When making decisions about individuals, you should look at the  individual; Damore objects to Google making policy by groups with respect to decisions about individuals.