Add more assertions to guard against re-entrency in MatchedDeclarationsCache. It may help find the root cause of <rdar://107338197>.
Pull request: https://github.com/WebKit/WebKit/pull/15755