Iran canceled planned attacks on Ukraine after Kyiv apologized for an alleged attack on Iranian ships in the Caspian Sea.