'hasSyntaxErrors' check moved from Diagnostic to PositioningStrategy

This makes possible to mark diagnostic errors when syntax error are present (by overriding isValid in PositioningStrategy subclasses).
KT-3378 "Type mismatch on override" not present when the initializer is syntactically incorrect
#KT-3378 Fixed