Tens of thousands of people from different walks of life have taken part in a funeral procession for the victims of a terrorist attack on the holy shrine of Shah Cheragh in the southern Iranian city of Shiraz.