The amount held in any tribal fund account which, in the judgment of the Secretary of the Interior, is not required for the purpose for which the fund was created, shall be covered into the surplus fund of the Treasury; and so much thereof as is found to be necessary for such purpose may at any time thereafter be restored to the account on books of the Treasury without appropriation by Congress.