Resignation of centrist former general leaves Israeli prime minister even more beholden to far-right allies