Theres a big difference between saying a woman cannot he president and a woman cannot be elected president. Im willing to bet Bernie did say the latter at some point but its time to take out lieawatha so here we are.
More likely he said THAT woman (Warren) cannot be elected.