Temperature-dependent nuclear partition functions and abundances in the stellar interior