One of Mary Tyler Moore’s oldest friends shared his final goodbye and the teary advice he gave her husband before she passed