Fix errors in SymDenotations.isCachable.

TypeVar is a TypeProxy.
After-rebase fix: weaken owner-chain restriction.

Allow to skip labels.