Respect the `compare` operator value in `meta_query` when `value` evaluates to `null`. Adds Unit Test. 

Props bradyvercher, gradyetc.
Fixes #22967.



git-svn-id: https://develop.svn.wordpress.org/trunk@26053 602fd350-edb4-49c9-b593-d223f7449a82