Ukraine accepts peace agreement