Second officer to plead guilty to state charge agrees to deal that calls for three and a half years in prison.