Man with sword shot dead by Qld police