Interpreting changes in life expectancy during temporary mortality shocks