William Wragg 'voluntarily' gives up Tory whip after divulging MPs' numbers