Compensate deleted lines

When you delete lines above current cursor position by SelectLines or
SelectPhrase, restoring cursor position didn't work intuitively

this commit fix this problem