A photographer finally settled with a monkey’s lawyers over selfie copyright