Dirac Semimetal and Connected Nodal Lines in IrGa, ScPd, and RuAs Compounds