Iran has announced the arrest of the suspected accomplice of the perpetrator who carried out a deadly attack at a shrine in Shiraz last week.