Chemical freezing of phase separation in immiscible binary mixtures