Sir Keir Starmer said he is ‘not going to walk away’ after Labour endured a bruising set of election results