Kyle Hayes scored on the stroke of half-time as Limerick extended their lead over Cork in their semi-final encounter.