Self-Attentional Credit Assignment for Transfer in Reinforcement Learning