Use the merged_at time in the metrics for the merged_at function
Following on from the backfill issue (#412956), we can simplify the merged_at code to simply use the metric.merged_at attribute.
Investigate if there is a chance that merged_at isn't going to be set for some reason but looks like a non-issue as it is done in the post_merge
Edited by Matt Nohr