Search for pair-produced vectorlike B quarks in proton-proton collisions at sqrt(s) = 8 TeV