Brexit to go ahead on October 31, says UK government