Macron warns Europe must contain ‘irregular flows’ of Afghan migrants