#273: fix various regressions

#159, 259, ...
set $static on an ROK slot in any save_pv_or_rv, so that the RV is not
overwritten by the PV