IMPALA-984: Fix missing reanalyze in InlineViewRef and NULL handling.

Change-Id: Ia80035c5456630aeef7a24288a998fe08546a282
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2628
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins