Sir Paul McCartney has admitted he would have struggled with "heartache" if he hadn't reunited with John Lennon before his death in 1980.