If an employer or its insurer wholly or partly pays compensation, the payment bars recovery from the other of the amount paid.