Transformer with Implicit Edges for Particle-based Physics Simulation