Plans to build an £85million "fortified school" to educate teenage prisoners were scrapped in 2015, a ban on sending books to inmates was unlawful and judges also overturned an "unfair" block on sending high-risk violent prisoners to open jails.