A 52-year-old homeless man with chronic alcohol misuse is given IV 5% dextrose for dehydration in the emergency department without prior vitamin supplementation. He becomes confused with ataxia and nystagmus. What is the most appropriate immediate treatment?