Dependence of the shape of the resistive transition on composite inhomogeneity in multifilamentary wires