The chancellor says shoppers “should be reassured” the government is working to fix port delays.