A federal court ordered the owners of 14 Subway locations north of San Francisco to pay employees nearly $1 million in damages and back pay — and also to sell or shut their businesses, with any sale proceeds going to the Labor Department. Federal investigators said the owners directed children as young as 14 to operate dangerous machinery and failed to pay employees regularly, including by issuing hundreds of bad checks and illegally keeping tips left by customers.