The Australian parliament has passed a law that the government is obliged to ill migrants in detention centres on Manus Island and Nauru to the Australian mainland for medical care. The law is a major defeat for prime minister Scott Morrison, who strongly opposed the proposal.