The UK’s annual inflation rate edged down to 3.4% in May from 3.5% in April, driven primarily by a decline in transport costs, according to official data released on Wednesday.