Ensure uniqueness when returning page lists in `get_page_children()`. Fixes failing unit tests.

Props boonebgorges.
Reverts [30246].
Fixes #14477.


git-svn-id: https://develop.svn.wordpress.org/trunk@30636 602fd350-edb4-49c9-b593-d223f7449a82