Residential solar is struggling. One company's add-on is helping it hit 1 million installations.Sunrun is focusing on battery storage amid a market downturn, with a notable decline in solar installations expected in 2024.