Prime Minister Benjamin Netanyahu vowed 15 months ago that Israel would achieve “total victory” in the war in Gaza — by eradicating Hamas and freeing all the hostages.