Revert "preserve line numbers when reverting representation"

This reverts commit 554e2fb7a3ee053046c0be1944dbf5e1d981657e, which was
correspondingly reverted in OTP for compatibility reasons. (The details
remain unclear.)