Wal-Mart merchandising chief to resign