A 6 point between 18 and 24 is godly at home and ATG away. It sounds like you'd think he was better if he averaged 22 at home and 24 away, in which case he would be worse. His away average is as good as Dale f'n Steyn before the specialist batsman phase and he had several series defining performances away with the ball. His away record is incredibly well rounded and stacked with ATG performances. Never faced a minnow in his career either.
And no one rates him as a 37 average batsman. If anything, people go the other way around and pretend he was a scrub with the bat before he became a specialist in the middle order as if he's not one of a handful to score a ton and take a 10fa in the same match. Even
@smash84 doesn't rate him as more than a decent #7 while he was an ATG bowler. You're fighting a straw man. Only Cricinfo tribute pieces pull out the 50 average as captain stat with sincerity. The fact that he was better than the average #6 (Logie, Ritchie etc) whilst being in the world's top 3 bowlers for a decade is insane though.
A legit criticism of Imran is that he missed a lot of tests because of injuries in his peak. Hadlee, by contrast, rarely sat a match out (14/100 over his entire career IIRC, insane) and this is partly why Paddles was still ahead on the rankings despite Imran having a higher peak rating. ICC rankings still suck but eh, supports my point here.