Hollywood actors agree to federal mediation to avoid a strike