Assert all locks are free in `Balancer.mergePages`.

See #262.