Four hardcore terrorists hanged in Rawalpindi