[MOD] XQuery: IndexContext split into context and costs class