Sudan close to civilian rule transition with historic deal signing