How Virginia's top court might decide Democrats' gerrymandering fate