Twitter fires product, revenue heads as it seeks to become “responsible and efficient”