Fix issue 10018 VRP for const/immutable variable declarations with initializer

http://d.puremagic.com/issues/show_bug.cgi?id=10018