Measurement of b-hadron pair production with the ATLAS detector in proton-proton collisions at s = 8 $$ \sqrts=8 $$ TeV