Minister admits NHS failures