Equality check for types that respects type families? (#9582)