Election lawyers said it was foreseeable, given the circumstances, that a New York trial court judge would order the state Board of Elections to not include independent presidential candidate Robert F. Kennedy Jr. and his running mate Nicole Shanahan on the Nov. 5 statewide ballot.