Mediators are scrambling to secure a deal that would end the war, while leaving unresolved the thorniest issues that predated it.