Solar bill advances in South Carolina; Maine bill fails to withstand LePage veto