U.S. defense secretary traveling to Pakistan, Middle East