Less than a year ago in Downing Street, the bunting was out, and Keir Starmer was walking into No 10 to a chorus of cheers after winning a landslide victory.