tree_merge(): Take amaf_prior argument, properly compute merged node values