Use deriving_eq for tokens

Replace the custom eq with #[deriving_eq].