FreshDirect, which uses 150 diesel-powered trucks to deliver groceries that customers order over the Internet, is outfitting its fleet with shutoff systems that will keep the trucks from idling longer than permitted by city law.