Libya rebel commander shot dead by own troops