fix: code duplication at `liftCoreM` and `liftTermElabM` at `Command.lean`

This PR also
- Fields caching specific `Options` at `CoreM` are properly set.
- `nextMacroScope` was not being propagated at `liftCoreM`.
2 files changed