Modeling of dislocations and relaxation of functionals on 1-currents with discrete multiplicity