Judge rules EPA illegally terminated $7 billion solar program intended to help poorer Americans