The White House said the 41-year-old had stepped down after nearly 18 months in office, following reported disputes inside the Pentagon.