Nuttall retires after nearly two decades in circuit court