First measurement of the associated production of a Z boson with b jets at the LHC