'Tortured' and shackled pupils freed from Nigerian Islamic school