Prisons and Courts Bill abandoned