Andy Burnham’s by-election victory boosts his Labour leadership challenge to Keir Starmer, who insists he will fight any attempt to oust him