Iran gained international credibility by adhering strictly to the JCPOA, even long after the Trump admin broke it. I doubt they will squander that by not adhering to whatever deal they negotiate next.
It's a good question, but Iran has a new weapon now: The Strait of Hormuz. Maybe that's enough leverage that they retain that they will stop their nuclear program for a while.