Accept an unindexed `coder_script` selector as a no-op when the resource is declared in Terraform configuration but has no evaluated instances. This supports scripts conditionally disabled through `count` or `for_each` and aligns their behavior with declared module calls that expand to no scripts. Continue rejecting undeclared resources and indexed selectors whose requested instance does not exist. Add coverage for root and repeated modules, mixed empty and resolved selectors, and strict indexed-instance validation. Refs: https://linear.app/codercom/issue/PLAT-668