An internally stable realization of a finite-dimensional approximation of a delay element