LOS ANGELES — A Southern California mayor has agreed to plead guilty to acting as an illegal agent for the Chinese government, and has resigned from her city position, officials said Monday. Eileen Wang, the mayor of Arcadia, was charged in April with one count of acting in the United States as an illegal agent