Iran vows to restart nuclear program if deal collapses