A U.S. District Court ruling comes five months after the school dropped its men’s and women’s swimming and diving and tennis programs.