School district's consolidation legal wrangling may have statewide impact