Massachusetts was among the hardest-hit states last month when it comes to job losses in the clean energy sector. And the number is expected to rise.