A constitutional challenge to a Virginia school board’s decision to go back to using the names of confederate generals on two schools was upheld by a federal court.