Long Island Rail Terminal in Yaphank can continue, judge rul