Former Prime Ministers including Theresa May and Tony Blair have hit out at Andy Burnham's decision to reopen the Brexit debate.