With a tweet the president ends the deployment of National Guard troops