A study of the difference-of-convex approach for solving linear programs with complementarity constraints