May's government survives no-confidence vote after Brexit deal defeat