Starmer pledges to seek major rewrite of Brexit deal