Oil rally stutters as US inventories muddy demand outlook