Pacific archipelago Palau agrees to take migrants from US