Opening batter Paul Stirling top-scored with 88 to lead Ireland to a 69-run win over a depleted South Africa in the third and final one-day international.