Legislation requiring special labels on food sold in Connecticut that contains genetically modified ingredients, so long as other states pass similar legislation, is heading to Gov. Dannel P. Malloy's desk for his signature.