Wal-Mart working on reducing 'shrink' as theft hits earnings