The fate of the F126 frigate is a cautionary tale for a procurement agency that buys everything from towels and flip-flops to tanks and fighter jets