Scottish independence looms over Brexit