Fix paste into virtual space

The code which selected the insert point for a put after operation ('p')
was splitting line endings in a few cases.  It needed to account for
ve=one more and the caret being in the middle of a line break instead of
at the start.

closes #1185