The White House says a message telling thousands of Ukrainian refugees to immediately leave the U.S. was a mistake.