MPs back a bill allowing relocation of asylum seekers outside the EU while their cases are reviewed.