atan2 recognizes imaginary arguments
correct and expand atan2 rewriting as arg
Merge pull request #7735 from smichr/arg

atan2 recognizes im args