Add a better error message for non-constant values in predicate aggregates

Previously it asked the user to implement -constantValue in the concrete
predicate type they happened to pass in.