Fix a problem in the new b-tree balancer that was causing corruption of
the fragmentation count.
More test cases for the balancer.