LPS-44765 Use the same logic as used for delete childPages for redirectPages - copy from above
LPS-44765 Code introduced in LPS-34791 is not necessary since LPS-38655. Now when restoring a child o a redirect page, if the parent or the redirected page is in trash we set this values to blank in the restored page. So it's not possible to have a parent (or redirected) page in trash and it's childs (or redirect) pages Approved or Pending.
LPS-44765 Add tests
LPS-44765 Use page and childPage as names
LPS-44765 No need to use move, add it directly as a child page
LPS-44765 We need to re-obtain the pages after the updates to make sure that we return the page with the latest updates
LPS-44765 Run ant format-source
LPS-44765 SF