Andy Burnham's bid to be a Labour MP was thwarted by Keir Starmer earlier this year amid a possible leadership challenge.