Returns attribute slugs when linking all variations to fix #6979

This effectively undoes a change made in https://github.com/woothemes/woocommerce/commit/fe432980216e00f0a9a1ca256166d1159dc0435b which breaks the Link All Variations action.