Massachusetts will use $764 million from the federal stimulus package to shore up healthcare services and prevent further job and program cuts at hospitals that serve large numbers of poor patients, Gov. Deval Patrick said. The money, which is coming to the state through the Medicaid program, will also enable the state to preserve current benefits and eligibility levels for MassHealth recipients, and for residents who get subsidized health insurance under the 2006 law mandating insurance coverage.