Any state agency which receives indirect cost recoveries from federal grant funds or other sources, when such recoveries apply to costs originally paid from the General Fund, shall deposit such cost recoveries with the Treasurer, to the credit of General Fund revenues, unless such deposit is waived by the Secretary of the Office of Policy and Management. This section does not apply to any applicable surcharges on assessments recovered by the state pursuant to sections 12-586g and 12-586f. For purposes of this section “state agency” does not include any constituent unit of the state system of higher education or any state institution of higher education.