Implement cursor_backspace_word and cursor_delete_word key actions.