UMass Memorial to cut 350 jobs