A Chilean court has stripped former dictator Augusto Pinochet of his legal immunity , clearing the way for him to be tried in connection with the deaths of two political prisoners .