Mittal, France reach deal over threatened steel plant