Fix mdb_rebalance collapsing root

Shift the rest of the cursor stack as needed