A North Dakota county was almost the first in the U.S. to ban refugees. Here's what happened instead