Fix collapse-newline in the case that the insertion point
is at the first position of the text.

closes PR 14043

Also, Rackety.