Search for supersymmetry in events with at least three electrons or muons, jets, and missing transverse momentum in proton-proton collisions at sqrt(s) = 13 TeV