Qantas illegally fired 1,700 workers at start of pandemic, court rules