Jan 4 (Reuters) - Bankrupt renewable energy company SunEdison Inc has reached a deal with a spinoff company that helps clear the way for a $150 million sale of its solar materials business to a...