Four Bruins score in double digits in win over Pirates