Energy identity for a class of approximate Dirac-harmonic maps from surfaces with boundary