The slowdown marks the third straight month of deceleration, driven by a cooling economy that weighed on production and price gains.