In 2017, Rachel Hartigan found herself on the island of Nikumaroro, an uninhabited coral atoll in the western Pacific Ocean.