WPI inflation softens to 8.39% in October 2022