A new proposal in Congress was helping spark gains for solar stocks on Tuesday, but the plan from the House Ways and Means Committee was viewed as negative for the nuclear-power industry and makers of electric vehicles.