Judge Nathan Erasmus criticises State for sloppy evidence in Joshlin Smith trial