5.9-magnitude earthquake rattles southern Philippines