Four-try Edinburgh end on top