The US president expressed optimism that a deal is 'very close' despite the Israeli prime minister vowing to keep fighting