Tory rebellion leads to defeat of Government over Brexit amendment