The following ILM tests all contain switch statements with branches that will never execute. The tests use a `between(x, y)` switch expression, but there are `case` values that are outside the randomised range. We need to fix these before #88739 can be merged. By "fix", I mean either remove the spurious cases, or if we actually want them, then extend the randomized range.

   * ActionConfigStatsTests
   * AllocateActionTests
   * CopyExecutionStateStepTests
   * RolloverActionTests
   * WaitForRolloverReadyStepTests

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/IndexLifecycleFeatureSetUsage.java
builder.endObject();
            return builder;
        }
        public Map<String, PhaseStats> getPhaseStats() {
            return phaseStats;
        }
        public int getIndicesManaged() {
            return indicesManaged;
        }
        @Override
        public int hashCode() {
            return Objects.hash(phaseStats, indicesManaged);
        }
        @Override
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            PolicyStats other = (PolicyStats) obj;
            return Objects.equals(phaseStats, other.phaseStats) && Objects.equals(indicesManaged, other.indicesManaged);
        }
        @Override
        public String toString() {
            return Strings.toString(this);
        }
    }
    public static final class PhaseStats implements ToXContentObject, Writeable {