Resolve divergence in QAST nodes.