Use the merged_at time in the metrics for the merged_at function
Following on from the backfill issue (https://gitlab.com/gitlab-org/gitlab/-/issues/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
issue