yii\redis\ActiveRecord::deleteAll() refactoring 

No need to write to socket 2 times when nothing found to delete.