[FIX] XQuery, GH-958: Ignore compile-time type errors involving fn:error().