Infinity/NegativeInfinity: simplify relational code
Infinity/NegativeInfinity: simplify relational code

If we call `Expr.__lt__` then we do not need as much error checking
here.  In particular, can drop the "compare to nonreal" error.

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