Remove algorithmic brick layout ordering that happens in the fact.

Since different brick layouts are now implemented, it makes sense to
remove any remaining traces of the algorithmic work from the fact...
Fix small chaining bugs.