[ysh] Handle EOF when CommandParser does special YSH case lookahead