Theresa May will use Damian Green’s downfall as an opportunity to relaunch her premiership in the new year by creating a legacy that goes beyond Brexit.