State-to-state chemistry for three-body recombination in an ultracold rubidium gas