Final polling averages understated several Democratic victories, with the largest errors reaching more than nine points.