move `REPL.REPLCompletions.UndefVarError_hint` to `REPL` module (#52990)
Since `UndefVarError_hint` is an interactive feature and isn't directly
related to completion, it seems more appropriate to place it within
`REPL` module rather than its `REPLCompletions` submodule.