Judge allows restaurants in suit to stay open past 11 p.m.