Subject to subsection (b) of this section, any person, including his survivor or beneficiary, to whom annuity or retired pay is not payable under the Act of
September 1, 1954 [this subchapter], as in effect at any time prior to the date of enactment of this Act [
Sept. 26, 1961], by reason of any conviction of an offense, any commission of a violation, any refusal to answer, or any absence under indictment, or under charges, for any offense, shall be restored the right to receive such annuity or retired pay for any and all periods for which he would have had the right to receive such annuity or retired pay if the Act of
September 1, 1954 [this subchapter], had not been enacted, unless, under the amendment made by the first section of this Act [amending former chapter 31 of this title, now this subchapter, and
section 3282 of Title 18, Crimes and Criminal Procedure], such annuity or retired pay remains nonpayable to such person, including his survivor or beneficiary.