Many of the islands’ residents are descendants of Malay workers brought there to work in coconut plantations in the 1830s.