Three terrorists killed, 27 criminals arrested in Karachi