To repro: ```bicep resource trailingSpace ``` Here we get duplicated diagnostics:  Ideally we'd short-circuit and only show the first diagnostic if the type string has not been specified.