* Move anonymous type instantiation cache from AST node to root type * Use "root" type reference as cache location for deferred type references * Add test Co-authored-by: Andrew Branch <andrew@wheream.io>