Lord Neuberger had attacked MI5 and the Foreign Office in a draft version of a ruling in which he and two other judges threw out an attempt by Mr Miliband to censor information about MI5’s alleged complicity in the torture of Binyam Mohamed, who was released from Guantánamo Bay last year.