fix: push a fresh InfoTree context for term-level `open ... in` and `set_option ... in`

This PR fixes autocompletion (and other InfoTree-driven consumers such as the interactive term goal and hover popups) to see the augmented `openDecls` and `options` when the cursor is under a term-level `open ... in <term>` or `set_option ... in <term>` scope. Previously both elaborators only updated the runtime `Core.Context` via `withTheReader` / `withOptions`, but did not push a corresponding `PartialContextInfo.commandCtx` node into the InfoTree; consumers therefore saw the outer command's `openDecls` / `options` and, for example, offered names fully-qualified even under a matching `open`, or rendered pretty-printed goals ignoring a local `set_option pp.fullNames true`.

Wraps the inner `elabTerm` call in `withSaveInfoContext`, the same helper used at command boundaries, so the info-tree subtree produced by the body is tagged with a `commandCtx` derived from the updated monad state.

Fixes #14218.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 files changed