World powers to help Iran redesign reactor as part of nuclear deal