The fact that by massive voting imbalance those few being tortured would have 0 chance of stopping it does not begin to describe the injustices inherent in your proposed scheme.
Ethics and principles are hard to reconcile with statistics and calculations, by suggesting that there is a greater good for which you will discard your principles in a heartbeat you are devaluing everything.
The question then becomes where do you draw the line?
A few individuals? A few tens of individuals? A few hundred? A few thousand? As long as it is one person less than would be killed otherwise?
Best not to make that first step and stick to 'torture is bad, no matter what the upside'.
Where do you draw the line therefore zero is a standard approach from the nays in almost any policy debate, but it is easily defeated. I draw the line somewhere. Not sure where. I'd have to figure it out if I ever heard evidence that Convinced me torture is useful.
There's a possibility (IMO, a certainty) that torture isn't 100% effective, and there's some number greater than 100 of deaths that I'd need to avoid a year from now to torture 100 people today. (some of those 100 might die anyway before the terror event; we might thwart the terror event via some other means; the terror threat may itself disappear [death of those terrorists or other means])
It's just another case of "pay me $1MM today and I promise to pay you back exactly $1MM in 20 years"...