Optimizing Off-Grid Generation in Large-Scale Electrification-Planning Problems: A Direct-Search Approach