Miami has landed the veteran Brazilian international, but not without some league drama for potentially skirting the rules