Humiliation for Ahmadinejad as veto is overruled