perf: avoid unnecessary `modifyEnv`

This PR implements a minor optimization at `withExporting/withoutExporting`.
When they call `modifyEnv` to toggle `Environment.isExporting`, and
`MonadEnv` `MetaM`'s `modifyEnv` wipes all `Core` and `Meta` caches.

chore: use `old`
1 file changed