Essentially, the Brits have nuclear subs positioned around the world ready to launch. If, for some reason, the UK gets wiped out and one of these subs becomes disconnected from the chain of command, then a letter locked in the Captain's safe contains instructions on what to do: launch, or don't launch. One would think the very existence of these letters, and the non-zero probability that they would say "don't launch", reduces the effectiveness of the UK's nuclear deterrent under a MAD strategy, but as you point out it is actually the non-zero probability that one of these subs becomes accidentally disconnected and the letter in their safe says "launch" that makes their deterrent work in the first place.
Essentially, in game theory terms you're turning a prisoner's dilemma into a Nash equilibrium, which while it sounds straight-forward enough in theory is not always so simple to achieve in practice.