Trump’s tweeting about the ‘travel ban’ and London attacks reveal a president who is going increasingly rogue