remove homebrew-fork Pathname#/ monkeypatch

in favor of ordinary Pathname#join.  This was already the rule
for our codebase except for some areas of the test suite.
Merge pull request #8428 from rolandwalker/remove_homebrew_pathname_slash_monkeypatch

remove homebrew-fork `Pathname#/` monkeypatch