The Nearby Luminous Transient AT2018cow: A Magnetar Formed in a Subrelativistically Expanding Nonjetted Explosion