Qatar emir appoints trusted confidant as new prime minister