A cease-fire and an overall compact to end the war in eastern Ukraine were announced here Thursday by the leaders of France, Germany, Russia and Ukraine after marathon overnight bargaining that threatened to derail the attempt. Even as the agreement was announced, it appeared fragile, with officials on all sides saying there was more work to be done.