Modeling of the Phase Composition of Refractory and Slag Systems, Optimization of Slag Adjustment, and Stabilization of Secondary Steelmaking Slags