SERVER-10026 check for comparison match expressions with regex during pa...

...rsing

While parsing a MatchExpression, reject expressions like {a: {$gt: /regex/}} and
{b: {$ne: /regex/}}. This used to be done in CanonicalQuery.

Also fixes a query_migration regression in which $ne with a regex was allowed.