(Reuters) - SunEdison Inc said it would spin off its semiconductor business in an initial public offering and use the proceeds to build solar farms.