Appropriations available to the Department of Defense for operation and maintenance may be used for payment of claims authorized by law to be paid by the Department of Defense (except for civil functions), including—

(1)claims for damages arising under training contracts with carriers; and

(2)repayment of amounts determined by the Secretary concerned to have been erroneously collected—

(A)from military and civilian personnel of the Department of Defense; or

(B)from States or territories or the District of Columbia (or members of the National Guard units thereof).