Remove unnecessary #[path = "***/mod.rs"] lines.

A cleanup suggested on #7922.