UK inflation slows to 2.4 pct