Variational approach to an approximate Hamiltonian for strongly correlated narrowband electrons - relation to band calculations and theory of exchange in insulators