fix Issue 7966 - First template instantiation inside `with` results in `Error 42: Symbol Undefined`

Always use `WithScopeSymbol` to make correct chain of `scopesym->parent`.