Muon spin relaxation study on magnetic properties of Nd2−xCexCuO4 around a boundary between the magnetically ordered and superconducting states