No. I read the question as meaning this:
www.example.com/index.php/this-page has a new URL and requests for this should be redirected to
www.example.com/junk-foo-bar-quux does not exist and serves as 404. Requests for
www.example.com/index.php/junk-foo-bar-quux get redirected and then get served as 404 after the redirect.
Site owner wants the duff URL requests to directly serve 404, not go through a redirect first - hence the previous long post on how to do it.