A Leicestershire college group in severe financial trouble has found a proposed merger partner to secure its future.