About 20,000 Afghans were approved for resettlement in the U.S. under a program that helps people at risk because of their work with the American government, media, aid agencies and rights groups.