The amendment follows Republican outcry over broken commitments to ban central bank digital currencies in the defense bill.