Back-port of action woocommerce_variable_product_sync from 2.1

See ticket #3961 for a description.