Former Joint Chiefs of Staff Chairman Gen Martin Dempsey calls the president’s remarks “dangerous”.