Pulse shape discrimination in the LUX dark matter detector