If you change the routing when you get to MIA, it's after your first ticketed flight. If you're still in YYZ, you will not yet have taken your first flight, & so the sub-para. 1 rules apply. Once you get to MIA, you've departed, & hence it's sub-para. 2 which is applicable.