7.1 magnitude earthquake rattles part of western China, injuring 6 people and collapsing 47 homes