Newer shopping centers played a bigger role in the demise of malls than increased online shopping did over the past 10 years.