Trip to beach that resulted in 13-year-old's death may have broken state rule for group homes