The PM criticised the way the Tory party descended into civil war after the nation rallied from Covid, and warned his would-be successors against doing the same