Two of the state’s largest health care providers have abandoned plans to merge following objections from the Attorney General’s Office, which said the proposed partnership between Dartmouth Health and GraniteOne Health would limit competition yet not provide protections for consumers.