Ukraine violated the Minsk agreement, and the coup in 2014 of a legally elected president of Ukraine violated another agreement.
If we don’t want others to engage in coups then we shouldn’t be doing them either.
How is it a "coup" when the duly elected Parliament votes overwhelmingly to remove their President? Would it be a coup in our country if 78% of the Senate voted to remove the President as part of an impeachment? The answer is no, that would be doing exactly what the constitution allows.
After Yanukovych lost support of their Parliament and left office a new election was held.