If they threaten the UK- that'd be different. But what chance is there of that?
If the Iranians have a viable nuclear weapon then Brits will eventually be involved in clearing up the resultant mess. The problem needs to be dealt with now before it escalates, by negotiation if possible, by other means if negotiation fails.