Compilation: avoid caching root source file twice

The deleted lines here are redundant because they happen first thing
inside the function call below.

Additionally, skip hashing the root source file if it is an empty
string. I explored making this field along with `root` optional but
found this to be less messy actually.
41eff5723dAndrew Kelley committed on 1/20/2024, 5:18:04 AMparent46d592e
1 file changedLine totals unavailable