Make insertParagraphNear prefer to insert after
Make insertParagraphNear prefer to insert after

And only insert before when the selected node is the first but not the
last node.

Issue prosemirror/prosemirror#603

ProseMirror/prosemirror-commands