Move the standalone-deriving flag test from parser to renamer