Treatment of pathologic fractures of the proximal femur