Unions, Wal-Mart reach deal on Chicago store