The company will pare its presence in its electric vehicle charging business, and its home solar division will sell future customer agreements it originates to two partners.