A court has ruled in the case brought by the Texas attorney general against US eggs giant Cal-Maine Foods, which it accused of Covid-19-linked price-hikes.