As Massachusetts health care becomes increasingly dominated by large health systems, more than a dozen community hospitals are banding together in a new partnership. Under the arrangement, called the Massachusetts Value Alliance, hospitals are working together to slash costs by buying some supplies and services together. By teaming up, they have greater leverage in negotiating prices with vendors that sell equipment, software, and other things hospitals need.