US called slow to detect Islamic militancy