Oscar Pistorius trial hears how he fired a gun in a restaurant