Josh Marshall predicted this last night.
Trump seems to do everything completely off-the-cuff, whether it's sharing intelligence with the Russians, or countering the story his staff concocts to defend that lapse in judgement. He did this with the Comey firing too-- his staff give the press one story, then the next day he tells Lester Holt something else. He can't bear thinking he's ever wrong, he can't bear thinking he's not in control, he can't bear any kind of poor public image, so he tries to fix it himself and only makes it worse.
There's no plan, he's winging it, he is always going to be winging it. And he's not Robin Williams or Charlie Parker, so he can't improv his way out of the messes he improvs himself into, all he can hope is that enough of the population doesn't care or believes whatever bogus excuse Hannity comes up with.