Trump risks leaving behind a legacy of failure in Ukraine