GM becomes 1st of Detroit automakers to seal deal with unionized workers