Fix division by zero in some aggregations

Fix both VarianceAggregation and ApproximateAverageAggregation