Pentagon failed to study privacy issues in data-mining effort, IG says