Encircled by critics and protesters at the United Nations, Israeli Prime Minister Benjamin Netanyahu told fellow world leaders on Friday that Israel “must finish the job” against Hamas in Gaza.