What is the primary purpose of a thermostatically controlled box solenoid valve used in a multi-box refrigeration system?