It just goes to show that those who manage and run our military equipment programs dont seem to understand what the fuck theyre doing. Like OP said, the citizens, congress, and everyone who was calling for a upgrade over the humvees during the Iraq war did not go into it with the intention that these same military vehicles would end up on our own soil, being used by local police departments - literally for "show of force".
The number of these "excess" MRAPs (in other words, we wasted tens of millions or perhaps billions of tax payer dollars by ordering the production of way fucking too many of them) hasn't been reliably identified yet. CNN claims the number is 600. Other sources are 400, some 1200. At $500k a pop, even an excess of 100+ is too much money wasted.