Algorithms can drive inequality. Just look at Britain’s school exam chaos