Allow var def to infer type from right-hand side.

Found by golint.