[driver] Clear the FailureResultFiles when initializing clang diagnostics. Also,
minor cleanup.