A decade after the EU referendum, a by-election on Thursday poses a major test of Britain’s ability to resist the racism and violence it unleashed, says a leading genocide scholar.