### CI Link

https://gradle-enterprise.elastic.co/s/xws6gmgwdwnmm/tests/overview?outcome=failed

### Repro line

./gradlew ':x-pack:plugin:esql:test' --tests "org.elasticsearch.xpack.esql.CsvTests" -Dtests.method="test {rename.RenameProjectEval}" -Dtests.seed=F32BCA1B870438F -Dtests.locale=ar-LY -Dtests.timezone=UTC -Druntime.java=21	

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

_No response_

### Failure excerpt

```
java.lang.AssertionError: java.lang.IllegalStateException: can't release already released block [IntVectorBlock[vector=IntArrayVector[positions=3, values=[2, 5, 4]]]]
```
x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/data/BasicPageTests.java
page -> new Page(1, page.getBlock(0)),
            page -> new Page(new IntArrayVector(new int[] { 1 }, 1).asBlock(), new IntArrayVector(new int[] { 1 }, 1).asBlock())
        );
    }
    public void testEqualityAndHashCode() throws IOException {
        final EqualsHashCodeTestUtils.CopyFunction<Page> copyPageFunction = page -> {
            Block[] blocks = new Block[page.getBlockCount()];
            for (int blockIndex = 0; blockIndex < blocks.length; blockIndex++) {
                blocks[blockIndex] = page.getBlock(blockIndex);
            }
            return new Page(page.getPositionCount(), blocks);
        };
        final EqualsHashCodeTestUtils.MutateFunction<Page> mutatePageFunction = page -> {
            assert page.getPositionCount() > 0;
            Block[] blocks = new Block[page.getBlockCount()];
            int positions = randomInt(page.getPositionCount() - 1);
            for (int blockIndex = 0; blockIndex < blocks.length; blockIndex++) {
                Block block = page.getBlock(blockIndex);
                blocks[blockIndex] = block.elementType().newBlockBuilder(positions).copyFrom(block, 0, page.getPositionCount() - 1).build();
            }
            return new Page(blocks);
        };
        int positions = randomIntBetween(1, 512);
        int blockCount = randomIntBetween(1, 256);
        Block[] blocks = new Block[blockCount];
        for (int blockIndex = 0; blockIndex < blockCount; blockIndex++) {
            blocks[blockIndex] = switch (randomInt(6)) {
                case 0 -> new IntArrayVector(randomInts(positions).toArray(), positions).asBlock();
                case 1 -> new LongArrayVector(randomLongs(positions).toArray(), positions).asBlock();
                case 2 -> new DoubleArrayVector(randomDoubles(positions).toArray(), positions).asBlock();