Fix bug introduced in scalar_implicit_partial check
Fix bug introduced in scalar_implicit_partial check

This was introduced in 2.4.3-dev in cd36a575da43aacfc419c4db8208b163078be19d

etsy/phan,etsy/phan