Susie Wiles is leaving as White House chief of staff after staggering Republican losses in the midterm election and will be replaced by Stephen Miller, a key adviser who helped shape the administration's illegal immigration crackdown.