Make keyup event suppression more readable
Remove insert mode check for keyup handling

If we have handled a keydown then we should always handle its
corresponding keyup, regardless of what mode we're in. This prevents
us from passing the keyup event for `i` to the page when we enter insert
mode.