Members of the benchmark 500-company U.S. stock index spent almost $1 trillion buying back their own shares last year