widget: Fix an off-by-one in TAB/CJK cleanup on deleting a character

https://bugzilla.gnome.org/show_bug.cgi?id=731788