The switch raises Labor’s Senate seats to 30 out of 76, giving the left bloc a majority of 40 when combined with the Greens.