If that was just an engine shut down for isolated problem, I am not buying decision to divert to Shiraz, while Dubai, Bahrain, Qatar and Kuwait were less than 60 min single engine away. There is no danger in diverting to Iran, it is just a logistical and legal nightmare, especially outside Tehran.