Rochfort, Robert, active 1685-1743, Attorney-General of Ireland