Court kills NYC menu mandate but OKs its revival