Kroton Educacional has agreed to sell its learning unit Uniasselvi to the Carlyle Group and the Brazilian investment firm Vinci Partners for $284.6 million.