Mexico moves to knockout stage