Revert "Fix a ConcurrentModificationException in PagesCache"

This reverts commit ae0fee3c1c63c9d54f5db27a0f71d9fb58ddd3c0.