The move sets up a crunch by-election for Sir Keir Starmer, the first since he became prime minister