Without surging sales of COVID-19 tests, Abbott Laboratories’ 8 percent second-quarter revenue decline would have been twice as bad.