Fixed a corner case and simplified the logic in Packet::intersect.
Fixed a corner case and simplified the logic in Packet::intersect.

--HG--
extra : convert_revision : b57c31ca7c220e701d34e02bb07ce392370e4428

markoshorro/gem5,briancoutinho0905/2dsampling,aclifton/cpeg853-gem5,SanchayanMaity/gem5,austinharris/gem5-riscv,gem5/gem5,joerocklin/gem5,sobercoder/gem5,SanchayanMaity/gem5,aclifton/cpeg853-gem5,samueldotj/TeeRISC-Simulator,sobercoder/gem5,zlfben/gem5,aclifton/cpeg853-gem5,gem5/gem5,KuroeKurose/gem5,powerjg/gem5-ci-test,markoshorro/gem5,aclifton/cpeg853-gem5,briancoutinho0905/2dsampling,samueldotj/TeeRISC-Simulator,Weil0ng/gem5,joerocklin/gem5,samueldotj/TeeRISC-Simulator,qizenguf/MLC-STT,qizenguf/MLC-STT,Weil0ng/gem5,SanchayanMaity/gem5,Weil0ng/gem5,sobercoder/gem5,powerjg/gem5-ci-test,gedare/gem5,aclifton/cpeg853-gem5,zlfben/gem5,cancro7/gem5,kaiyuanl/gem5,SanchayanMaity/gem5,samueldotj/TeeRISC-Simulator,cancro7/gem5,sobercoder/gem5,zlfben/gem5,rjschof/gem5,powerjg/gem5-ci-test,TUD-OS/gem5-dtu,joerocklin/gem5,markoshorro/gem5,zlfben/gem5,samueldotj/TeeRISC-Simulator,markoshorro/gem5,rallylee/gem5,TUD-OS/gem5-dtu,joerocklin/gem5,SanchayanMaity/gem5,gedare/gem5,yb-kim/gemV,yb-kim/gemV,HwisooSo/gemV-update,cancro7/gem5,kaiyuanl/gem5,gedare/gem5,rjschof/gem5,briancoutinho0905/2dsampling,austinharris/gem5-riscv,kaiyuanl/gem5,zlfben/gem5,austinharris/gem5-riscv,zlfben/gem5,gem5/gem5,cancro7/gem5,qizenguf/MLC-STT,rjschof/gem5,gedare/gem5,HwisooSo/gemV-update,briancoutinho0905/2dsampling,TUD-OS/gem5-dtu,austinharris/gem5-riscv,joerocklin/gem5,KuroeKurose/gem5,rallylee/gem5,KuroeKurose/gem5,HwisooSo/gemV-update,Weil0ng/gem5,kaiyuanl/gem5,rallylee/gem5,austinharris/gem5-riscv,qizenguf/MLC-STT,gem5/gem5,rjschof/gem5,gedare/gem5,kaiyuanl/gem5,samueldotj/TeeRISC-Simulator,yb-kim/gemV,KuroeKurose/gem5,powerjg/gem5-ci-test,briancoutinho0905/2dsampling,KuroeKurose/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,cancro7/gem5,HwisooSo/gemV-update,samueldotj/TeeRISC-Simulator,powerjg/gem5-ci-test,TUD-OS/gem5-dtu,powerjg/gem5-ci-test,rallylee/gem5,Weil0ng/gem5,TUD-OS/gem5-dtu,gem5/gem5,yb-kim/gemV,qizenguf/MLC-STT,aclifton/cpeg853-gem5,rallylee/gem5,KuroeKurose/gem5,sobercoder/gem5,austinharris/gem5-riscv,Weil0ng/gem5,cancro7/gem5,austinharris/gem5-riscv,qizenguf/MLC-STT,zlfben/gem5,HwisooSo/gemV-update,rjschof/gem5,markoshorro/gem5,powerjg/gem5-ci-test,yb-kim/gemV,rallylee/gem5,HwisooSo/gemV-update,sobercoder/gem5,joerocklin/gem5,cancro7/gem5,yb-kim/gemV,kaiyuanl/gem5,Weil0ng/gem5,HwisooSo/gemV-update,joerocklin/gem5,rallylee/gem5,qizenguf/MLC-STT,kaiyuanl/gem5,briancoutinho0905/2dsampling,briancoutinho0905/2dsampling,KuroeKurose/gem5,joerocklin/gem5,SanchayanMaity/gem5,gedare/gem5,yb-kim/gemV,gem5/gem5,rjschof/gem5,markoshorro/gem5,markoshorro/gem5,gem5/gem5,aclifton/cpeg853-gem5,yb-kim/gemV,gedare/gem5,rjschof/gem5,TUD-OS/gem5-dtu