Perceval, Robert, Physician-General in Ireland