Rehabilitation of the L train, the New York City subway line connecting the boroughs of Manhattan and Brooklyn, finished six months ahead of schedule and $100 million under budget thanks in part to Cornell engineers who drastically changed the project’s approach.