A mayor of a city in Peru says a New Year's Eve attack on informal miners has left at least three people dead and seven more missing.