U.S. inflation remained elevated last month as the costs of some imported goods rose while rental prices cooled.