‘Iran, Pakistan need to mitigate differences to avoid clash’