On Sontag's formula for the input-to-state practical stabilization of retarded control-affine systems