Nigerian group, which has faced setbacks from growing regional offensive, has pledged to join the Islamic State of Iraq and Levant .