This article charts the final chapter of May’s undoing. Based on conversations with advisers, ministers, officials and others who asked not to be named, it reveals how a cabinet in disarray over Brexit policy finally came together to oppose the prime minister’s last desperate plan.