The world’s biggest pension fund saw returns rebound last quarter with foreign stocks generating the biggest gain among its assets.