Sudan’s army agrees to temporary cease-fire with military rival