Exponential integral: something is wrong.

It seems like a substitution error. Although (1) is equal to (2), when you replace t with u in the first line of the last derivation, u=-t so they are not equal. This results in an false statement when you try to set the end products equal to each other because the variables are used inconsistently.