Fix selection-finding in joinForward
Fix selection-finding in joinForward

FIX: Fixes an issue where [`joinForward`](##commands.joinForward)
might create a selection pointing into the old document.

Issue prosemirror/prosemirror#783

ProseMirror/prosemirror-commands