Sir John Magill, 1st Baronet — Irish politician