Qantas slashes 500 jobs as part of restructuring