An Islamic State-affiliated group has attacked villages in Congo near the Uganda border, killing at least 40 people