Thousands return home after Philippines quake, tsunami warning lifted