Mich. legislators defy unions, OK right-to-work