UK parliament paves way for Brexit