US president says Mark Esper being replaced by National Counterterrorism Center director Christopher Miller