Correctly adjust Vector.shift on pop.

There was an off-by-one error when shrinking the size of the
root, caused by accessing the new root rather than the current one.
Fixes #3