Bugfix: make old_dof_indices ordering consistent

We moved the SCALAR dofs to their variable number position in
dof_indices, but didn't make the same update to old_dof_indices