Fix workspace build assertions
This branch fixes the assertions we've been getting in issue #316 (closed) when caching a workspace build result in non-strict mode.
This adds a regression test for it, and additionally does some minor cleanup:
- Adjusted comment in
Element._assemble_done() - Remove redundant call to
Element._update_state()inBuildQueue