The ballet company and the union representing its dancers resolved their dispute, meaning that performances in New York will proceed.