Brexit reveals the Labour leader's longstanding worldview as a paradox of open borders and a closed shop economy.