The cost of imports barely rose in April, but only because of a global decline in oil prices. Yet many products such as foreign cars, consumer goods and industrial supplies appeared to show signs of tariff-related price increases.