Softening of the equation of state of matterat large densities and temperatures: chiral symmetry restoration versus quark deconfinement