The math of when and how to retire is changing for millions of workers with pension plans. Blame the steep hike in interest rates.