Preserve TypeFunction::sym when merging a type of AliasDeclaration