Russia's Putin replaces commander of war in Ukraine