Labour’s pension fund swings from red to black