Final COMPASS results on the deuteron spin-dependent structure function g1dand the Bjorken sum rule