Graph Inductive Biases in Transformers without Message Passing