Within-basket Recommendation via Neural Pattern Associator