Update Redis.php

clear the reference in $value to the array (Issue #6324)