Removed canReplaceRefTemps from FnSymbols

Based off Elliot's feed back I removed canReplaceRefTemps from FnSymbols
and instead pass a vector through inlineFunctions that indicates if ref
temps can be removed for that function. Made a small clean up to
callDestructors as well.