Add inverse_of to product variant associations

Fixes #4031