Cluster: set the slaves->slaveof filed to NULL when master is freed.
Cluster: set the slaves->slaveof filed to NULL when master is freed.

Related to issue #2289.

JackieXie168/redis,JackieXie168/redis,JackieXie168/redis,JackieXie168/redis