If any such judge dies in service after his appointment to the Supreme, or Superior Courts and after having received retirement benefits from the retirement system, his beneficiary may elect to receive the survivor benefits available upon the death of such retired member or the death benefits provided by the pension plan established for members of the Supreme, or Superior Courts. In the event of the election of the latter, such election shall constitute a waiver of all rights to survivor benefits payable by the Public Employees' Retirement System and his beneficiary shall be entitled to receive the value of the judge's accumulated deductions reduced by the amount of the benefits received by the judge from the system.
N.J.S. § 43:15A-134