Ending energy crisis, terrorism govt’s top priority: Dastgir