Origin of resistance to lung-cancer drug discovered