Matt Damon said he "understood" why he needed to "retire the f-slur" after being told by his daughter how "dangerous" it is following a "joke" he made