John Erskine, Earl of Mar, 1675-1732