Judge Rules Against Wal-Mart in Tax-Shelter Case