Ignore false positives from pattern matching

The Scala compiler generates something like:

    var x3: X = null.asInstanceOf[X]