Measurement of the cross section for production of b bbar X decaying to muons in pp collisions at sqrt(s) = 7 TeV