Credit: AP/Andres Kudacki Trump banned travel from 12 countries, but included some exceptions to avoid legal battles