A few minor changes.

Make guard condition on typed transitions perform a type check even
when there’s a null guard condition.
Change Region.IsComplete and CompositeState.IsComplete to consider null
and inactive current children in completeness test.
Other minor performance improvements.