Five terrorists killed, soldier martyred in N Waziristan