The right of an insurance company to assume the legal claims of an insured after having paid the insured for a loss is called