Irreducible memory function for dissipative stochastic systems with detailed balance