COAS, lawmakers pledge to fight extremism jointly