Extending the Gutzwiller approximation to intersite interactions