Tehran's warning to Baghdad comes a day after the IRGC launched missiles on purported Israeli targets in Erbil.