Multi-entry transformation: combine tailcalls

This pass takes functions which tailcall each other and merges them into
one functon by moving all blocks and entries into one large function.
This should give us a speedup when two functions tailcall each other,
but would not otherwise be able to transform those tailcalls into loops.