Arcadia mayor strikes plea deal, resigns over Chinese agent charges