A combination of government policies is finally succeeding in reversing a long decline in solar manufacturing in the United States.