(2)
deposits made under section 
1438 of title 
10 or section 5 of the Uniformed Services Contingency Option Act of 1953 (67 Stat. 504) to provide the eligible beneficiary with annuity for any period, less the amount previously paid as retired pay benefits;
shall be refunded, on appropriate application therefor—
(B)
if the individual is dead, to the beneficiary designated to receive refunds by or under the statute, regulation, or agreement under which the annuity, the benefits of which are denied under this subchapter, would have been payable; or
 
(C)
if a beneficiary is not designated, in the order of precedence prescribed by section 
8342
(c) of this title or section 
2771 of title 
10, as the case may be.