Nearest-neighbour resonating valence bonds in YbMgGaO4