A Polynomial-Space Finite Algorithm for Solving a Class of Reverse Convex Programs