8185426: Jshell crashing on autocompletionSummary: Properly canceling completion on <tab> if needed.Reviewed-by: rfield