Do not ReportError in PromiseTypeAppendPromise

Handle as ProgrammingError and yyerror in parser.
Remove two consecutive equal if-statements in FnCallIRange
Do not ReportError out of FnCallRRange, return FNCALL_FAILURE