Islamic State said via its Amaq news agency that it killed 14 Nigerian soldiers in the northeast state of Borno in attacks on Wednesday.