New York derailment kills 4, hurts dozens