Police in Peru say they have arrested the main suspects in the murders of two women and a girl.