TNF controls a speed-accuracy tradeoff in the cell death decision to restrict viral spread