Prosecutor drops charges against former judge