Pakistan appoints new head of intelligence