Fixed the shift in insert()

When shifting the (rid, key) pairs in the leaf, start copying from the
end rather than the beginning.