Memories are precious, but so is your iPhone's storage. Here's how to stop duplicate photos from gobbling it up.