Hamas freed the last living Israeli hostages on Monday under a ceasefire deal, prompting cheering, hugging and weeping among thousands waiting at Hostage Square in Tel Aviv.