About 16,000 businesses financially hit by 112 days of pandemic lockdowns have had a legal win, which also means former government ministers will avoid giving evidence.