The Russian president promised continued retaliation against the Ukrainians and “full solidarity” with Iran.