Publishing giant McGraw-Hill has announced that it will sell its education division to private equity firm Apollo Global Management for $2.5 billion. The news comes months after the publishing company said it would split its education and financial services units.