Macroscopically inhomogeneous state at the boundary between the superconducting, antiferromagnetic, and metallic phases in quasi-one-dimensional (TMTSF)2PF6