Finite element analysis of plasticity-induced crack closure