Internal: remove IndexCloseListener & Store.OnCloseListener

Closes #9009
Test: added some logging to NodeEnvironmentTests.testDeleteSafe