data.index: fix IndexMap#destroy method (fixes #15)