A peace treaty would settle a long and bloody conflict—and create new geopolitical options in the region.