Ripon MP Julian Smith urges PM not to override Brexit deal