I think it was wrong to fire him too. But honestly it somewhat of a feat to manage to criticize large parts of the organization, make a large part of the company angry and end up on big news sites, all at the same time. Especially since Google is pretty infamous for their hiring process, keeping things internal, flagging troublemakers and protecting their reputation.
I think he was wrong on some facts, and also didn't explain things in the best way.
But I think it was wrong of many people to misrepresent what he said (as "women are inferior"), and it was wrong of Google to fire him.