The solution here to have more crews & gates. Will create some jobs along the way, and surely will cost less than the delays you described.
This is even before we factor in all the time lost by passengers of these planes, after which it would be a no-brainer.
Like I said, this was an edge case. I've flown once a month for almost three years now and this was the first time I've experienced this.