Does the clipping of nails nullify ablution?
No, it does not, and it is preferable to wash the hands afterwards.
What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
What is the expiation for perjury?
Perjury is forbidden and one of the major sins that require turning to Allah in repentance, seeking His forgiveness, giving back rights to whom they belong, or seeking their forgiveness, and expiating for that oath.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.