Revert "Use TmpObj to set effective_state attribute on compute (OMS-497)"

This reverts commit 493c61d38af924e7d2591a5a6af37d4a27c0984d.