It depends which side you're looking at. I'm looking at from the taxpayer's perspective. I'm spending that much amount of money for that many aircraft I'm going to get for my country's air force, and the number is 105.
From the perspective of the contractor, it's not their fault. The bargain is 160 jets, so they delivered 160 jets for the price of... 160 jets. So whose fault is it? Not the contractors certainly. They upheld the bargain. The fault fell on the people who came up with the program in the first place.
And I did think about the raptor's lack of IRST and HMD, but considering its combat doctrine that is shaped around its supercruise, stealth, AESA, and RWR, without these sensors, the raptor is still relevant in its intended role. These features work in conjunction to provide the raptor with the ability to force a BVR engagement on the enemy, a scenario in which IRST and HMD seem less significant.