DALLAS — Lars Eller broke a tie midway through the third period, Max Pacioretty had two goals and two assists, and the Montreal Canadiens beat the Dallas Stars 6-4 on Thursday night.P.K. Subban had a goal and three assists, and Brendan Gallagher and David Desharnais also scored for Montreal, which finished a season-high six-game road trip at 3-2-1. Valeri Nichushkin converted a penalty shot for Dallas. Jamie Benn, Tyler Seguin and Brenden Dillon tallied for the Stars. Dallas (20-13-7) lost in regulation for the first time in eight games, ending its longest streak of games with a point this season at 5-0-2.Seguin scored his 21st goal at 7:42 of the third period on the power play and Dillon followed 47 seconds later to tie it. However, Eller netted his 10th of the season at 10:39 to put Montreal (24-14-4) ahead. Pacioretty added an empty-netter. Nichushkin, taken down by Canadiens defenseman Josh Gorges near the crease, beat goalie Carey Price to his glove side on the penalty shot to tie the score at 2-2 early in the second period. Subban scored at 6:30 to put Montreal ahead. Price got his second assist of the season on the goal. Subban earlier made a backhand pass while wheeling through the left circle to set up Desharnais in the slot for a shot that beat Kari Lehtonen, who was screened and falling in the crease, to give Montreal a 2-1 lead. Benn opened the scoring with his 14th goal of the season at 6:12 of the first period. He struck a one-timer near the right point following a cross-ice pass out of the left corner from Seguin. That extended Benns streak of consecutive games with a point to five, including goals in four. The Canadiens tied the score at the 11-minute mark of the period. Pacioretty took an outlet pass at the red line from Subban, raced in alone on the Dallas net and beat Lehtonen to his glove side for his team-leading 18th goal.