Keep only a modular window of the last 10 merge snapshots.

Otherwise that would cause too much pollution of the heads namespace.