The global leader in pay-as-you-go solar power is downsizing to stay profitable