The development of a model considered earlier, which deals with the melting of microinclusions in an elastic matrix. is proposed. Apart from perfed inclusions totally filling the appropriate cavities. inclusions with one atomic vacancy in the solid state are also described. The consideration is based on the exactly soluble model of a p h a e transition that describes two-level systems connected to a medium by a ferroelastic interaction. Some principally new types of phase diagrams with critical points where the lines of first-order phase transitions terminate are discussed. Peculiar regions of the model parameters are pointed out. As anticipated. the present results are applicahle to a rather wide class of materials composed of several sets ofdistinct two-level systems.