Boston led, 1-0, after the first period, but couldn’t overcome a miserable second in which the Devils scored four times.