A former judge who reviewed the £2.5m Operation Midland claims warrants were obtained unlawfully.