Fixed parsing of val bindings with type annotations