Nigeria’s military acknowledges major attack by extremists