The government borrowed £22.3bn in October – its highest for the month since records began.