Treasurer asks ice cream manufacturer’s parent company to comply with 2016 law, which requires state entities to divest from firms boycotting Israel or settlements