Other income. Money can be refunded, but not "transferred" to beneficiaries.
FYI, just in case you have some "pre-taxed" or non-taxable aspect to the 1099R, I enter the Gross amount in Other Income and then a corresponding negative "non taxable amount" to reduce the Other Income to the Taxable Amount.