Fixed the null dereference bug when directly wrote "case 1 when 2: 3" in REPL.
It was due to null LexPosition in the AST.
Now AST.pos !is null is an invariant of AST.