To prevent Brexit from turning nasty, progressive internationalists must come close to winning 10 Downing Street