After the contract has been executed pursuant to Section 521, the diagnostic functions of the regional laboratories maintained at Petaluma and Sacramento shall be transferred to other laboratories in the system and those two laboratories shall be closed.