Records reveal California twice missed deadlines to buy the trains at the center of a federal funding fight — then quietly dropped its lawsuit weeks after missing its new deadline.