Replacing the refractory of a gypsum boiler