Improve error recovery in parse_compound_statement().