The votes culminated two days of speeches overwhelmingly calling for an end to the 14-month war between Israel and the militant Hamas group.