The extremists were defeated in Iraq in 2017 and in Syria two years later but their sleeper cells remain active.