incremental: fix crash when introducing syntax error

Clearing the analysis roots was very clever and all, but not actually
valid. We need to avoid *any* reference to the analysis errors if there
were any fatal files, and that includes sorting the errors!

Resolves: #22774
b21becb2a6mlugg committed on 2/5/2025, 10:00:55 PMparent3031d81
3 files changedLine totals unavailable