Implementation of equilibrated basis functions in the finite element method for singular problems in solid mechanics