LPS-44765 Use the same logic as used for delete childPages for redirectPages
LPS-44765 Modify wrong if. If the redirect or child page isInTrash it should be deleted
LPS-44765 Apply distributive property to simplify if.
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 Create test