remove unnecessary code from simplifyIfs
uncommaify between ifs that can potentially be simplified