[ruby-core:127563] [Ruby Bug#22595] ObjectSpace::WeakMap#each can yield the same pair twice if compaction happens during iteration