PSCFV-12072 (slow product delete)

make only one update instead of one per product when deleting a product

there is also a wrong call to cleanPositions in delete method (it's parameter should be the category, not id_product and cleanPositions is called inside deleteCategories becaouse the parameter is set to true, so it was being called twice)