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

See #262.