Ignore all exceptions during parsing

This is in addition to exceptions thrown as part of parsing, i.e. now we
ignore non-syntax errors too (though these may be symptomatic of bugs in
the code around parsing).