Fix bug in internal `uniqueSplice` function

Ensure that when existing elements are re-ordered via manipulation
methods, their original siblings are updated to reflect the change.

This should resolve gh-509.
This doesn't work when `node.next` is part of the selection.