A pseudopotential model for Dirac electrons in graphene with line defects