Iran to quit nuclear accord