Australia signs deal with Nauru to keep asylum seeker detent