The move follows months-long dispute with the Pentagon over Anthropic's AI chatbot Claude's safeguards.