Fixed 21406 -- blocktrans trimmed should preserve line numbers

See [ticket 21406](https://code.djangoproject.com/ticket/21406).