The Iranian establishment faces serious risks if the proposed nuclear deal with six world powers fails.