Best-First Heuristic Pruning Function for General Flow-Shop Scheduling Problem