The United Nations has called on Australia and Papua New Guinea to show restraint as a deadline to clear the Manus Island refugee detention centre approaches.