The 74-year-old Israeli prime minister’s surgery took place as tens of thousands of people joined with families of hostages to call for Benjamin Netanyahu to step down.