Transient effects in partial-RESET programming of phase change memory cells