Leaders from Ethiopia and Eritrea signed a peace agreement during a summit in Saudi Arabia, yet another sign of warming ties between two nations that have face decades of war and unease.