Decay of discrete state resonantly coupled to a continuum of finite width