A post attacking a female leader created a backlash amid allegations that sexual discrimination still exists in the Silicon Valley.