Al Carns has ruled himself out of the Labour leadership race, paving the way for Andy Burnham to become prime minister.