Remove isSemicolon

We had two almost identical functions in the parser: canParseSemicolon and isSemicolon. The only difference was that the latter forgot to check for EOF, so I removed it and switched all calls to use the former.

This fixes #200.