An explosive attack at the Mausoleum of Imam Ruhollah Khomeini coincided with an assault on the Iranian parliament.