Removing the perk was absolutely not about the cost of the pizza which was trivial, or the extra productivity, it was about the few jerks abusing it. Of course, they could have bought 5X more pizza, and then the jerks would have walked out with 5 pizza boxes instead of one.
Same mentality is why we can't leave a basket of unattended candy outside the house on Halloween, for Trick-Or-Treaters to share: Inevitably someone will just take the whole basket. It's not about the cost of the candy, it's about not enabling jerks.