The use of civilian software to discuss sensitive military and government matters came to light after a journalist from The Atlantic magazine said he was mistakenly added to a group chat on Signal.