An algebraic fermion description of band termination and loss of collectivity in heavy nuclei