Fix behavior when breaking a loop into an outer block

This fixes #87