Sequence Compression Speeds Up Credit Assignment in Reinforcement Learning