Simplified path integral for supersymmetric quantum mechanics and type-A trace anomalies