Labour tables amendment to break Brexit deadlock