US general: Iraqi tensions divert resources from ISIS fight