State supreme court allows defendants to challenge prolonged detention caused by pandemic trial delays