The Treasury Department and the United Nations offered new protection for aid from sanctions meant to pressure the Taliban.