Residents of the Pacific Island country were told to move to higher ground