The U.S. Energy Department finalized loan guarantees for two major solar projects on Wednesday, as the deadline loomed for the government's renewable-energy incentive program.