Remove redundant canonicalizeType