On the implementation of finite deformation gradient-enhanced damage models