Television footage from India’s Himachal Pradesh state showed houses flattened by landslide, buses and cars hanging on the edge of precipices after roads gave way, and hundreds of people at rescue sites as emergency workers struggled to clear debris.