Simplify var def lookup

The extra gymnastics are not needed now that interactive eval sets
the var location metadata.
Further simplify var def lookup
Remove the no file check in the error highlighting logic