MEMC Electronic Materials is hurting. The silicon wafer and solar project developer is undergoing some big restructuring that includes laying off 20 percent of its workforce and idling – or possibly closing – a polysilicon factory, the company said Thursday.