Nigerian military: 20 women, children rescued; scores of terrorists killed