Minister resigns over Brexit ahead of crucial vote in UK parliament