A UN committee has made a damning call on Australia’s treatment of asylum seekers detained in Nauru.