Budget cuts affect two MA safety-net hospitals