Court: NY agency investigating abuse at state facilities lacks power to prosecute