pf: duplicate frames only once when using dup-to pf rule
When using DUP-TO rule, frames are duplicated 3 times on both output
interfaces and duplication interface. Add a flag to not duplicate a
duplicated frame.
Inspired by a patch from MiĆosz Kaniewski milosz.kaniewski at gmail.com
https://lists.freebsd.org/pipermail/freebsd-pf/2015-November/007886.html
Reviewed by: kp@
Differential Revision: https://reviews.freebsd.org/D27018
(cherry picked from commit 0c458752ceee14818034df7bfcdfb04129dceeda)