South Africa judge allows prosecution of Pistorius case