Thank you so much @bep and @jmooring for picking this up so quickly and creating a solution.
I have bumped our site to Hugo 0.164.0 and can confirm that this fix has speeded up our build by 4’30".
The Hugo build has gone from 608s with 0.163.3 to 117s with 0.164.0 and we are very happy again.
Mark.