Islamic State (IS) killed 11 Nigerian soldiers in an attack on the northeastern town of Gajiganna, the group claimed through its news agency AMAQ on Saturday.