Refugee transfer laws pass parliament