Know Thy Neighbour: A Normative Theory of Synaptic Depression