patternProperties not subjected to additionalProperties constraint

Currently, there is a bug with patternProperties where if a property is not visited, it is counted as visited, even if not matched to a regular expression.

This fix subjects all unvisited properties, including those not matched to a patternProperty regular expression, to the additionalProperties constraint.