when creating links, do not treat `<anonymous>` types as type applications, and handle union types without parentheses (#654)