Waltz had faced criticism for mistakenly adding a journalist to a chat group where sensitive military plans were discussed.