For a million years, one of humanity’s last cousins lived on an island in Indonesia. Why did they disappear?