David Pastrnak had two goals and an assist as the Boston Bruins closed out the calendar year with a much-needed 6-2 victory over the Edmonton Oilers.