Tesco has been ordered to pay damages to discount retailer Aldi over in-store price comparisons in Ireland.