ISIS claimed responsibility for the dual attack, on Iran's parliament and on the shrine of its revolutionary leader, that left 12 dead.