During 2016 election, US president said whistleblower is 'a total traitor and I would deal with him harshly'