Revert "[Bug 24872]: [Shadow DOM] Supports pseudo-classes in the matching criteria."

This reverts commit 45eda3bf9ca2c67f47a3ae4e267cdd6776a4a2c1.