The chancellor says the impact of the junior doctors’ strike on NHS patients is “regrettable”.