A high-statistics measurement of transverse spin effects in dihadron production from muon–proton semi-inclusive deep-inelastic scattering