First of all, the script cannot contain tags. Second, when you use xfa.resolveNode()the parameter is a text, so, unless you use a variable, the text must be enclosed in quotation marks. There is the same syntax error in the four following subforms:
The script for BI_DTA should be something like this:
if(caseSummaryFields.ClaimantsColl.BI_DTA.hideEvaluationSection.rawValue=='Y')
{
xfa.resolveNode("ClaimantsColl.BI_DTA.#subform[0]").presence = "hidden";
BI_DTA.presence = "hidden";
}
else
{BI_DTA.presence = "visible";}