Gov. Charlie Baker signed an emergency measure Tuesday to provide millions of dollars to struggling hospitals, effectively sidelining a ballot question that would have mandated how much hospitals can charge for their services. After approval by both the House and Senate last week, the governor's OK on the bill proposed last week marks the final step in a law designed to avoid an expensive and prolonged fight between the union 1199 SEIU and Partners HealthCare.