What is the primary legal doctrine that allows an insurer to pursue a third party responsible for an insured's loss after the insurer has paid the claim?