European Union leaders have agreed to grant limited trade concessions to Pakistan to help it recover from the impact of recent floods that displaced more than 20m people in the country.