4 terrorists sent to gallows