Prefrontal Neurons Encode a Solution to the Credit-Assignment Problem