This removes another dependency of 'ir.tree' on 'frontend', and among other things, makes it possible to implement TranslationPluginContext for FIR in the future.