DR Congo, Rwanda pulled back from brink of war in summit pact