Karachi man kills robber in mugging attempt