UK premier's controversial adviser Cummings quits