Also ignore whitespaces and comments that appear after the last error in a REPL line #KT-15172 Fixed
Check if all of the syntax errors are at EOF, not that there's a single one. In case of open parenthesis two syntax errors are reported for some reason