Theresa May’s decade at the pinnacle of politics will be defined not only by her failure to deliver Brexit, but her determination to drive down immigration. She eventually stood alone in Cabinet