Keir Starmer was an outspoken opponent of leaving the European Union as Labour's shadow Brexit secretary in 2019, when he led the charge at the party's conference for re-running the 2016 EU membership referendum — a policy that lost the party the general election three months later.