Linear orders: When embeddability and epimorphism agree