If an individual, who is enrolled under section
1395i–2
(c) of this title or under section
1395p of this title, dies, and premiums with respect to such enrollment have been received with respect to such individual for any month after the month of his death, such premiums shall be refunded to the person or persons determined by the Secretary under regulations to have paid such premiums or if payment for such premiums was made by the deceased individual before his death, to the legal representative of the estate of such deceased individual, if any. If there is no person who meets the requirements of the preceding sentence such premiums shall be refunded to the person or persons in the priorities specified in paragraphs (2) through (7) of subsection (e) of this section.