Man hacked to death, attacker roughed up by mob