Election deal ends Ukrainian political crisis