The Diocese of Brooklyn, joined by Orthodox Jewish organizations, had sued Gov. Cuomo over new capacity rules for area houses of worship.