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/test/java/org/elasticsearch/xpack/core/ilm/AllocateActionTests.java
}
        Integer numberOfReplicas = randomBoolean() ? null : randomIntBetween(0, 10);
        Integer totalShardsPerNode = randomBoolean() ? null : randomIntBetween(-1, 10);
        return new AllocateAction(numberOfReplicas, totalShardsPerNode, includes, excludes, requires);
    }
    @Override
    protected Reader<AllocateAction> instanceReader() {
        return AllocateAction::new;
    }
    @Override
    protected AllocateAction mutateInstance(AllocateAction instance) {
        Map<String, String> include = instance.getInclude();
        Map<String, String> exclude = instance.getExclude();
        Map<String, String> require = instance.getRequire();
        Integer numberOfReplicas = instance.getNumberOfReplicas();
        Integer totalShardsPerNode = instance.getTotalShardsPerNode();
        switch (randomIntBetween(0, 3)) {
            case 0 -> {
                include = new HashMap<>(include);
                include.put(randomAlphaOfLengthBetween(11, 15), randomAlphaOfLengthBetween(1, 20));
            }
            case 1 -> {
                exclude = new HashMap<>(exclude);
                exclude.put(randomAlphaOfLengthBetween(11, 15), randomAlphaOfLengthBetween(1, 20));
            }
            case 2 -> {
                require = new HashMap<>(require);
                require.put(randomAlphaOfLengthBetween(11, 15), randomAlphaOfLengthBetween(1, 20));
            }
            case 3 -> numberOfReplicas = randomIntBetween(11, 20);