Iran blames “terrorists backed by a foreign regime” for the attack which killed soldiers and civilians.