Allen & Overy will close its Qatar office later this year nearly a decade after it opened, following a review of its operations in the country.