Mexico has charged three soldiers with murder and four with dereliction of duty over the deaths of 22 suspected gang members who died in an army confrontation in June, prosecutors said Sunday.