Andy Burnham was officially declared leader of Britain's governing Labour Party, clearing his final hurdle to taking office as prime minister next week.