The number of mergers and acquisitions across the education industry climbed by 9 percent over the most recent year, with private-equity deals driving much of that growth.