On the use of localized orbitals and restricted alternant orbitals in chemical systems