Wip mitosis agent typecheck sooner



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/netlogo/netlogo-headless/27)
<!-- Reviewable:end -->

I'll change this and remember to do it that way in the future.