Maine Prosecutor Loses Primary to Soros-Backed Challenger