UK prime minister Andy Burnham has said that he may propose the UK rejoins the EU.