Rejection of Electronic Recoils with the DMTPC Dark Matter Search