Improve translation time of epilog generation.

Track which nodes need an epilog, and search for the insertion point
from the end of the instruction list instead of the beginning.

(Also, some "make format" changes forgotten last time.)