Legal, but not pretty. However who's to say his move to the inside at the end wasn't to have a look at going past RB - in which it would have been bad to stop the small chance of an overtaking move there.
The start is difficult to legislate for (as is any other time!). For instance Alonso did a lot of swerving too.
I suggest that this thread sticks to the actual question: "I accept that Ferrari have different team orders?" with perhaps USGP as an example rather than decend down the usual route. We can assume this isn't just bait to bash Michael, because then it won't be!