The vote paves the way for exchanges of Israeli hostages for Palestinian prisoners to begin on Sunday.