After creating new host group from help page, page doesn't redirect to main landing page.
Description of problem:
After creating new hostgroup, page doesn't redirect to main landing page.
This happens for only first created hostgroup (from welcome page), when there isn't another redirect_path stored in the session.
Fixes #33637 - Correctly redirect hostgroup create page
When creating the first hostgroup from the welcome page, submit does not
redirect back to the hostgroups index page due to incorrect referer
being stored in the session `redirect_path` value. This is similar to
the fix in 03a6981cd, but for pages that use the `SetRedirectionPath`
concern to control their form redirections.