Using ./sage -fiximports from #34945.
Also remove trailing whitespace in the affected files.
Part of Meta-ticket #34201
CC: @alexchandler100 @tscrim @videlec
Component: refactoring
Author: Alex Chandler
Branch/Commit: u/mkoeppe/sage__rings_modules_geometry___replace_imports_from_sage___all_for_namespace_packages @ 9a212f4
Reviewer: Travis Scrimshaw, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/34947