'(a) Any individual, partnership, or other body of individuals, of any nationality, resident within the territory (including that occupied by the military and naval forces) of any nation which is an ally of a nation with which the United States is a war, or resident outside the United States and doing business within such territory, and any corporation incorporated within such territory of such al