Undergraduate enrollment was down 2.5 percent overall, with community colleges and private, nonprofit four-year institutions fueling the losses.