The restrictions apply - it seems to me - if you have a passport from one of those countries, AND are travelling directly from that country to the US of A.
Which makes absolutely no sense, as all of the "bad dudes" (as Trump himself put it) will just travel via a third country, or have I missed something?