Fix DIL FormatDiagnostics issues.
Fix the bug, so we can now use the full formatting again. Also, move
FormatDiagnostics out of the DILParser class, so both the parser and
the intepreter can call it, and remove the static redundant copy of the
function from DILEval.