An Equivalence between Loss Functions and Non-Uniform Sampling in Experience Replay