Pass IndexSettings through nodeEnv.deletShardDirectorySafe