Analysis: His district’s voters, Southie count fueled Walsh’s first-place finish