Brexit would be a ‘self-inflicted wound’, David Cameron declared this week. He should know about those, writes Tim Bale. He traces the Conservative rebellions that extracted successive concessions from the PM, to no avail – until he finally tried to appease his party’s Eurosceptics by promising them a referendum