Search for Heavy Neutral Leptons in Events with Three Charged Leptons in Proton-Proton Collisions at sqrt s =13 TeV