French PM Valls stakes political career on union fight