Binomial edge ideals of regularity 3