Pistorius 'thought he shot burglar'