[core.app] Fix bug in equal.

Fix bug in `equal` where extra keys in table `y` were ignored. (See the "NFV configuration benchmark" pull request).