IMF agrees formula for rescheduling Sudan's debts