Brexit: Government defeats final obstacle in parliament