The revamped organizational structure cut at least one office authorized by Congress, which could spur legal challenges.