US pretzel maker J & J Snack Foods is set to buy ConAgra Foods' frozen handheld business.