Describe the bug
The code is attempting to rollover the history write index if present even if the history indices are disabled - https://github.com/opensearch-project/index-management/blob/main/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/IndexStateManagementHistory.kt#L110
Expected behavior
When history indices are disabled new history indices should not be created