U.S. general: Iraq war is ‘not hopeless’