From what I understand, going "blue" is the result of an enzyme that is secreted between the old and new layers of skin. This secretion separates the 2 layers, making the shedding process possible. I would assume the time between clearing up and shedding is just to give the skin a chance to separate and stretch a little. Depending on the morph, most snakes will be visibly brighter after a shed.