A branch and reduce approach for solving a class of low rank d.c. programs