The Department of Homeland Security gave more than 6,800 exemptions to terrorism-related entry bars, a significantly higher number that in recent years.