I think you're conflating Hardy's thoughts as a mathematician, with the politics of his country of origin. The two, as far as I know, weren't really connected
The structure of the modern education system is what Brittain designed to run an effective empire before any communication system existed. Every student made to operate independently as an arm of the British empire with standardized knowledge and skills, like cogs in an enormous beautiful machine.