Fix: EZP-22959: trailing slash in unordered params not removed (legacy)

JIRA: https://jira.ez.no/browse/EZP-22959

When invoking an URI with a trailing slash, legacy should not have it included in view parameters.