US inflation cools less than feared in April, boosting rate cut hopes