The maker of solar-power components saw its stock downgraded after Trump’s executive order enforcing a phaseout of tax credits.