Leaders agree to settlement in Ukraine crisis