TU Dublin held off a spirited challenge from a Niall McKenna-inspired St Mary’s University College at Grangegorman to earn a spot in the quarter-finals of the Sigerson Cup.