console_pane: Use utf8::before for deleting a range.

Much simpler than using advance to get an iterator to the N-1th code,
and avoids a distance call which is effectively just the same loop
twice.

Might be a good idea to get the end using find_invalid (again).