A variational model for dislocations in the line tension limit