The ice cream was recalled in 17 states ‘due to the potential presence of metal foreign material,’ according to the company