Fix $state.eager() SSR transformation

Fixed a bug where $state.eager() could generate incorrect code during server-side rendering. The compiler now properly processes the argument passed to $state.eager(), ensuring it transforms correctly for SSR output.