The Islamic State has claimed responsibility for the June 7 attacks on Iran's parliament and a shrine for the nation’s Islamic revolutionary leader.