Search for new phenomena using the invariant mass distribution of same-flavour opposite-sign dilepton pairs in events with missing transverse momentum in sqrt(s) = 13 TeV pp collisions with the ATLAS detector