Detroit EMS union reaches deal with emergency manager