Agreement with more than 1,300 victims of clergy members and lay leaders would resolve long legal fight