Munster secure quarter-final berth