The accord, if fully implemented, would bring the two sides closer than any previous effort to halt the war.