Inflation eases in April with consumer prices rising 3.4% from a year ago