Refactor Relational to avoid long hanging evaluations.
Refactor Relational to avoid long hanging evaluations.

Only call diff.equals(0) if we have a nonsymbolic expression.

lindsayad/sympy,AkademieOlympia/sympy,kaushik94/sympy,moble/sympy,AunShiLord/sympy,ahhda/sympy,drufat/sympy,yashsharan/sympy,Gadal/sympy,diofant/diofant,aktech/sympy,Arafatk/sympy,AunShiLord/sympy,ga7g08/sympy,shikil/sympy,kmacinnis/sympy,lindsayad/sympy,wyom/sympy,MechCoder/sympy,maniteja123/sympy,atsao72/sympy,iamutkarshtiwari/sympy,lindsayad/sympy,mafiya69/sympy,dqnykamp/sympy,VaibhavAgarwalVA/sympy,kevalds51/sympy,cccfran/sympy,Gadal/sympy,moble/sympy,moble/sympy,hargup/sympy,yashsharan/sympy,emon10005/sympy,Curious72/sympy,farhaanbukhsh/sympy,iamutkarshtiwari/sympy,madan96/sympy,lidavidm/sympy,shikil/sympy,MechCoder/sympy,dqnykamp/sympy,Mitchkoens/sympy,Designist/sympy,Shaswat27/sympy,Designist/sympy,AunShiLord/sympy,Sumith1896/sympy,amitjamadagni/sympy,abloomston/sympy,oliverlee/sympy,mafiya69/sympy,atreyv/sympy,emon10005/sympy,atreyv/sympy,hargup/sympy,lidavidm/sympy,asm666/sympy,drufat/sympy,vipulroxx/sympy,meghana1995/sympy,pandeyadarsh/sympy,cswiercz/sympy,bukzor/sympy,Vishluck/sympy,aktech/sympy,chaffra/sympy,pbrady/sympy,ga7g08/sympy,kmacinnis/sympy,abhiii5459/sympy,rahuldan/sympy,sunny94/temp,dqnykamp/sympy,atreyv/sympy,beni55/sympy,Davidjohnwilson/sympy,kaushik94/sympy,maniteja123/sympy,Curious72/sympy,VaibhavAgarwalVA/sympy,cccfran/sympy,hrashk/sympy,sahmed95/sympy,sampadsaha5/sympy,toolforger/sympy,drufat/sympy,grevutiu-gabriel/sympy,souravsingh/sympy,skidzo/sympy,sahmed95/sympy,mcdaniel67/sympy,Arafatk/sympy,sahilshekhawat/sympy,skirpichev/omg,sunny94/temp,bukzor/sympy,postvakje/sympy,rahuldan/sympy,jaimahajan1997/sympy,sahilshekhawat/sympy,souravsingh/sympy,Sumith1896/sympy,emon10005/sympy,Arafatk/sympy,grevutiu-gabriel/sympy,ChristinaZografou/sympy,Titan-C/sympy,Shaswat27/sympy,MechCoder/sympy,chaffra/sympy,kevalds51/sympy,garvitr/sympy,aktech/sympy,maniteja123/sympy,Davidjohnwilson/sympy,atsao72/sympy,MridulS/sympy,ChristinaZografou/sympy,asm666/sympy,skidzo/sympy,yukoba/sympy,saurabhjn76/sympy,jerli/sympy,sampadsaha5/sympy,Vishluck/sympy,Sumith1896/sympy,debugger22/sympy,Vishluck/sympy,Titan-C/sympy,sunny94/temp,jerli/sympy,postvakje/sympy,kumarkrishna/sympy,pbrady/sympy,oliverlee/sympy,wanglongqi/sympy,shipci/sympy,iamutkarshtiwari/sympy,kumarkrishna/sympy,liangjiaxing/sympy,pbrady/sympy,kumarkrishna/sympy,kevalds51/sympy,yukoba/sympy,beni55/sympy,vipulroxx/sympy,chaffra/sympy,jbbskinny/sympy,jaimahajan1997/sympy,mcdaniel67/sympy,Shaswat27/sympy,sahmed95/sympy,kaichogami/sympy,VaibhavAgarwalVA/sympy,Curious72/sympy,AkademieOlympia/sympy,souravsingh/sympy,pandeyadarsh/sympy,ga7g08/sympy,Gadal/sympy,jaimahajan1997/sympy,vipulroxx/sympy,farhaanbukhsh/sympy,meghana1995/sympy,jamesblunt/sympy,wyom/sympy,AkademieOlympia/sympy,farhaanbukhsh/sympy,Davidjohnwilson/sympy,jamesblunt/sympy,postvakje/sympy,ahhda/sympy,abloomston/sympy,sahilshekhawat/sympy,atsao72/sympy,meghana1995/sympy,kaichogami/sympy,jamesblunt/sympy,amitjamadagni/sympy,MridulS/sympy,bukzor/sympy,shipci/sympy,toolforger/sympy,hrashk/sympy,pandeyadarsh/sympy,MridulS/sympy,Mitchkoens/sympy,abhiii5459/sympy,madan96/sympy,Titan-C/sympy,abloomston/sympy,garvitr/sympy,garvitr/sympy,saurabhjn76/sympy,liangjiaxing/sympy,wanglongqi/sympy,wyom/sympy,jbbskinny/sympy,shikil/sympy,hrashk/sympy,debugger22/sympy,abhiii5459/sympy,Mitchkoens/sympy,shipci/sympy,mcdaniel67/sympy,saurabhjn76/sympy,kaushik94/sympy,rahuldan/sympy,beni55/sympy,debugger22/sympy,kaichogami/sympy,toolforger/sympy,lidavidm/sympy,yashsharan/sympy,oliverlee/sympy,asm666/sympy,ChristinaZografou/sympy,cswiercz/sympy,sampadsaha5/sympy,liangjiaxing/sympy,mafiya69/sympy,hargup/sympy,jbbskinny/sympy,skidzo/sympy,ahhda/sympy,jerli/sympy,cccfran/sympy,grevutiu-gabriel/sympy,yukoba/sympy,cswiercz/sympy,Designist/sympy,madan96/sympy,kmacinnis/sympy,wanglongqi/sympy