"means Iran has less to lose by resuming its nuclear weapons program"

Iran doesn't have a nuclear weapons program to "resume", and this agreement didn't shut any such thing down. Iran was already in compliance with its NNPT obligations.

This agreement simply leveraged economic warfare into additional concessions, ones Iran had no obligation to accept, but it did anyway.

However I agree wholeheartedly with the sentiment of you comment.