Two years ago, Illinois had adopted a landmark clean energy law that called for building vast amounts of renewable power. At the same time, 15 counties with some of the most land available for wind and solar had passed, or were about to pass, restrictions on new development that made the state’s goals more difficult to reach.