Dirac system with a singularity in an interior point