TOKYO — Residents in western Japan were cleaning up debris Monday evening after a powerful earthquake hit the area around Osaka, the country’s second-largest city, killing four people and injuring hundreds while knocking over walls and setting off fires. The magnitude 6.1 earthquake that struck the area early Monday damaged buildings and left many homes without water or gas.