Harlequins back row James Chisholm retires from professional rugby union aged 31, almost two years after rupturing his Achilles.