President Trump named Joseph Maguire, a retired Navy admiral, after he dropped his plan to nominate Rep. John Ratcliffe to replace outgoing director Dan Coats.