NHS’s pandemic experience is to have had the fault lines in its working revealed