override permalink of deleted product for creating new product of same name without errors
override permalink of deleted product updated test

Fixes #3471