Virginia judge halts mask ban for officers