Brexit ideology lies behind the UK’s market rout