Approximate reduction of dynamical systems