Twenty-two killed as military, assailants clash in Mexico