Nebraska sheriff to surrender law enforcement license following plea agreement