Trump attacks Cruz, delighting home crowd in New York