Man accused of St Patrick's Day assault in Limerick had been stabbed by victim, court hears