T3Less: Clean up code and fix @noflip for RTL