Do not maintain a reference to the newParent's parentNode in wrap()

Storing a reference to `newParent.parentNode` introduced a regression which
resulted in pressing ENTER to break paragraphs incorrectly.  This fix ensures
that pressing enter in an empty editable will result in a new paragraph being
inserted after rather than before.