Handle singles in clauses that take collections

Added as-coll utility function to normalize values to collections
where collections are expected (e.g., GROUP BY and ORDER BY).